package cz.muni.fi.hauntedhouses;

import java.util.List;

/**
 *
 * @author Martin Vala, 359917
 */
public interface HumanServiceLocal {
    
    public void setHumanDAO(HumanDAOLocal humanDao);

    public void create(HumanTO human);

    public List<HumanTO> findAll();

    public List<HumanTO> findByGender(Gender gender);

    public List<HumanTO> findByName(String name);

    public List<HumanTO> findByResistence(int resistance);

    public List<HumanTO> findByWorstFear(Fear worstFear);

    public HumanTO get(Long id);

    public void remove(HumanTO human);

    public void update(HumanTO human);
    
}
